Skip to content

Comments

docs(DatasetRefresh): create sample of dataset refresh using API command#175

Merged
may-hartov merged 6 commits intomicrosoft:mainfrom
may-hartov:dev/mahartov/dataset_Refresh_using_api_command
Feb 17, 2026
Merged

docs(DatasetRefresh): create sample of dataset refresh using API command#175
may-hartov merged 6 commits intomicrosoft:mainfrom
may-hartov:dev/mahartov/dataset_Refresh_using_api_command

Conversation

@may-hartov
Copy link
Collaborator

@may-hartov may-hartov commented Feb 16, 2026

This pull request introduces comprehensive documentation and examples for triggering and monitoring Power BI semantic model refresh operations using the Fabric CLI API command. The main change is the addition of a new guide with PowerShell and Bash scripts, along with cross-linking and navigation updates to make the refresh example easily discoverable.

Dataset Refresh Documentation and Examples:

  • Added a new guide refresh_semantic_model_example.md with detailed instructions and scripts (PowerShell and Bash) for triggering and polling semantic model refresh status using Power BI REST API endpoints via the Fabric CLI. The guide covers extracting polling URLs from response headers and handling refresh completion states.
  • Updated item_examples.md and api_examples.md to reference the new semantic model refresh example, making it easier for users to find relevant API usage instructions.

semantic modelrefresh Script:

  • Triggers a semantic model refresh - Uses the Power BI REST API to initiate an on-demand refresh operation for a specified dataset in a workspace
  • Extracts the polling endpoint - Parses the API response headers (Location or RequestId) to obtain the status monitoring URL
  • Continuously monitors progress - Polls the refresh status at regular intervals until the operation completes, fails, or times out
  • Reports the outcome - Displays real-time status updates and exits with success (Completed) or failure (Failed/Cancelled/TimedOut/Disabled) codes

Documentation Navigation Improvements:

  • Added the new "Dataset Refresh Example" page to the mkdocs.yml navigation under Item Management, improving discoverability in the docs sidebar.

Release Notes:

  • Created a release note documenting the addition of the dataset refresh API command example.

Doc layout:
image
image

@may-hartov may-hartov merged commit 059ad11 into microsoft:main Feb 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants